package com.coda.app.service;

import com.coda.appVo.appointment.AppointmentDetailVo;
import com.coda.appVo.appointment.AppointmentItemVo;
import com.coda.entity.ViewAppointment;

import java.util.List;

public interface ViewAppointmentService {
    /**
     * 保存或更新看房预约
     * @param viewAppointment
     */
    void saveOrUpdate(ViewAppointment viewAppointment);

    /**
     * 查询个人预约看房列表
     * @return
     */
    List<AppointmentItemVo> getList();

    /**
     * 根据id查询公寓详细信息
     * @param id
     * @return
     */
    AppointmentDetailVo getDetailById(Long id);
}
